package com.xiaomi.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class Condition {
    private String expression; // 表达式（如 "Mx - Mi"）
    private List<Threshold> thresholds; // 阈值列表
}